export default {
  room({rooms, roomName}){
    return rooms.find( obj => obj.name == roomName)
  }
}